<?php
/**
 * MimeType.php
 * 
 * @category    Madoqua
 * @package     View
 * @subpackage  Helper
 */

/** base class */
require_once 'Madoqua/View/Helper/Abstract.php';

/**
 * Madoqua_View_Helper_MimeType
 * 
 * @category    Madoqua
 * @package     View
 * @subpackage  Helper
 */
class Madoqua_View_Helper_MimeType extends Madoqua_View_Helper_Abstract 
{
    /**
     * the mime type
     *
     * @var string
     */
    protected $_mimeType = 'text/html';
    
    /**
     * set/get the mimetype
     * 
     * @param string $mimeType
     * @return string
     */
    public function mimeType($mimeType = null)
    {
        if ($mimeType != null) {
            $this->_mimeType = $mimeType;
        }
        
        return $this->_mimeType;
    }
}